home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0799 / 656 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.2 KB

  1. From: Claus Brod <clausb@hpbeo79.bbn.hp.com>
  2. Subject: XATTR structure for BIOS filesystem #2 
  3. Date: Mon, 22 Nov 93 10:09:22 MEZ
  4. Mailer: Elm [revision: 70.85]
  5.  
  6. >   Most device drivers just seem to test if the rwflag is non-zero to check
  7. > if a write call is wanted, although my documentation (german Profibuch) says
  8. > explicitly a write call has to set rwflag=1. If one could rely on this fact,
  9. > it would be easy to implement modes 2-3 to report the m/a-t/d fields (c-t/d
  10. > is unlikely to change :-), if not, you'd have to face the fact that the
  11. > device driver would interpret this as a write call.
  12.  
  13. Not too bad an idea. I'd suggest the following "calling convention":
  14.  
  15. - call datime in mode 0, store return value
  16. - call datime in mode 2
  17. - call datime in mode 0; compare with previous result; if the results
  18.   differ, call datime in mode 1 with the old value
  19.   
  20. This way, you make sure that even old drivers will not permanently
  21. change access times because they don't know about mode 2 and 3.
  22.  
  23. --clausb@hpbeo79.bbn.hp.com-----------------------------------------------
  24. Claus Brod, MDD, HP Boeblingen      Magic is real unless declared integer.
  25. --#include <std_disclaimer>-----------------------------------------------
  26.